package com.sgcc.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 接口维护对象 o_interface_index
 * 
 * @author sgcc
 * @date 2021-04-01
 */
public class OInterfaceIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 接口编码 */
    @Excel(name = "接口编码")
    private String interfaceCode;

    /** 接口地址 */
    @Excel(name = "接口地址")
    private String interfaceAdress;

    /** 是否删除（0否1是） */
    @Excel(name = "是否删除", readConverterExp = "0=否1是")
    private Long isFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInterfaceCode(String interfaceCode) 
    {
        this.interfaceCode = interfaceCode;
    }

    public String getInterfaceCode() 
    {
        return interfaceCode;
    }
    public void setInterfaceAdress(String interfaceAdress) 
    {
        this.interfaceAdress = interfaceAdress;
    }

    public String getInterfaceAdress() 
    {
        return interfaceAdress;
    }
    public void setIsFlag(Long isFlag) 
    {
        this.isFlag = isFlag;
    }

    public Long getIsFlag() 
    {
        return isFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interfaceCode", getInterfaceCode())
            .append("interfaceAdress", getInterfaceAdress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isFlag", getIsFlag())
            .toString();
    }
}
